package cn.vehicle.domains.vo.res.sysUser;

import cn.vehicle.domains.vo.res.sysPermission.SysPermissionRes;
import cn.vehicle.domains.vo.res.sysRole.SysRoleRes;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class SysUserRes {

    private Long id;

    private String username;

    private String password;

    private String phone;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String token;

    private List<SysRoleRes> sysRoleResList;

    private List<SysPermissionRes> sysPermissionResList;

}
